Replace Nix shell configuration with a Flake#952
Conversation
|
Currently, the Flake still has the same issue as the original pull request where it uses Haxe v4.3.6 instead of Haxe v4.3.7, primarily because Nixpkgs still hasn't updated its Haxe version. However, I've seen Codename being able to compile and run without issue, so I'm currently keeping it open as a non-draft. |
|
This pull request at Nixpkgs addresses the issue about the Haxe version. Currently, binaries are only cached for later versions of Darwin, but once I see that Haxe has been cached for most other platforms, I'll update the |
It also naturally supports more systems now.
|
This pull request now properly uses Haxe v4.3.7. This also means that the |
This is a reiteration of #771 that replaces the original
shell.nixfile with a new Nix Flake. The page linked describes the benefits of using Flakes.The Flake is resistant to the deprecation of
mbedtls_2by using an overlay. There are comments about this in the Flake itself.A legacy
shell.nixfile is still included, but it's wired to useflake-compat.In addition, the build inputs have also been altered to remove unnecessary packages and to adhere to the fairly recent removal of the
xorgpackage set, where the packages inside of it were renamed.